import request from '@/utils/request'

// 查询出入日志列表
export function listAssessLog(query) {
  return request({
    url: '/assessLog/assessLog/list',
    method: 'get',
    params: query
  })
}

// 查询出入日志详细
export function getAssessLog(id) {
  return request({
    url: '/assessLog/assessLog/' + id,
    method: 'get'
  })
}

// 新增出入日志
export function addAssessLog(data) {
  return request({
    url: '/assessLog/assessLog',
    method: 'post',
    data: data
  })
}

// 修改出入日志
export function updateAssessLog(data) {
  return request({
    url: '/assessLog/assessLog',
    method: 'put',
    data: data
  })
}

// 删除出入日志
export function delAssessLog(id) {
  return request({
    url: '/assessLog/assessLog/' + id,
    method: 'delete'
  })
}

export function getList() {
  return request({
    url: '/assessLog/assessLog/getList',
    method: 'get'
  })
}
